package role

func InitXiangling() Role {
	return Role{name: "香菱", code: 2, Level: 90, Hp: 10875, Atk: 225, CritRate: 5, CritDmg: 50,
		Defense: 669, Recharge: 100, Reaction: 1.5, Mastery: 96,
		Eon: "", Goblet: "", Circlet: "", RoleSpFunc: rechargeMin,
		AtkUseful: true, RechargeUseful: true, MasteryUseful: true,
	}
}

func (xiangling Role) SkillQ() Role {
	xiangling.SkillDmg = 2.38
	return xiangling
}
func rechargeMin(r *Role) {
	if r.Recharge < 180 {
		r.SkillDmg = 0
	}
}
